//
//  NewsListGetDataModel.h
//  ZhiHuDaily
//
//  Created by albert on 16/8/30.
//  Copyright © 2016年 albert. All rights reserved.
//  用于获取数据

#import <Foundation/Foundation.h>

@class NewsDetailModel, NewsDetailExtraModel;

@interface NewsListGetDataModel : NSObject
/** 加载首页最新数据 */
+ (void)loadLatestDatafWithFinishedBlock:(void(^)(NSDictionary *dict, NSError *error))finished;

/** 加载新闻详情数据 */
+ (void)loadDetailDataWithID:(int)ID detailBlock:(void(^)(NewsDetailModel *detailModel, NSError *error))detailBlock extraBlock:(void(^)(NewsDetailExtraModel *extraModel, NSError *error))extraBlock;

/** 加载首页更多数据 */
+ (void)loadMoreDataWithDate:(int)date finishedBlock:(void(^)(NSDictionary *dict, NSError *error))finished;
@end
